#ifndef  __MAINSTATUSBAR_H__
#define  __MAINSTATUSBAR_H__

// editor
#include "Screen.h"
#include "wgdi.h"

namespace editor {

class EditorColorInfo;
class EditorFontInfo;


class MainStatusBar : public AbstractScreen {
public:
    MainStatusBar(int id, HWND hWnd,
        int x = 0, int y = 0,
        int width = 0, int height = 0,
        int minX = 0, int minY = 0,
        int offX = 0, int offY = 0
        );
    virtual ~MainStatusBar();
    virtual ScreenTypes screenType() const;
    virtual bool sendKey(short key, bool repeat=false);
    virtual void update();
    virtual void updateSize(int x, int y, int width, int height);
    virtual void draw();
    virtual Screen* clone() const { return new MainStatusBar(*this); }

private:
    ScopedMemDC memDC_;

    int leftOffset_;
    int topOffset_;
    int rightOffset_;

    EditorColorInfo& cinfo_;
    EditorFontInfo& finfo_;
};

} // end of namespace editor

#endif   /* ----- #ifndef __MAINSTATUSBAR_H__  ----- */
